﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000133 RID: 307
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class BJGNJMEPIAL : IMessage<BJGNJMEPIAL>, IMessage, IEquatable<BJGNJMEPIAL>, IDeepCloneable<BJGNJMEPIAL>, IBufferMessage
	{
		// Token: 0x17000427 RID: 1063
		// (get) Token: 0x06000E01 RID: 3585 RVA: 0x00029CAC File Offset: 0x00027EAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<BJGNJMEPIAL> Parser
		{
			get
			{
				return BJGNJMEPIAL._parser;
			}
		}

		// Token: 0x17000428 RID: 1064
		// (get) Token: 0x06000E02 RID: 3586 RVA: 0x00029CB3 File Offset: 0x00027EB3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return BJGNJMEPIALReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000429 RID: 1065
		// (get) Token: 0x06000E03 RID: 3587 RVA: 0x00029CC5 File Offset: 0x00027EC5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return BJGNJMEPIAL.Descriptor;
			}
		}

		// Token: 0x06000E04 RID: 3588 RVA: 0x00029CCC File Offset: 0x00027ECC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BJGNJMEPIAL()
		{
		}

		// Token: 0x06000E05 RID: 3589 RVA: 0x00029CD4 File Offset: 0x00027ED4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BJGNJMEPIAL(BJGNJMEPIAL other) : this()
		{
			this.chessRogueMainStoryId_ = other.chessRogueMainStoryId_;
			this.cEHLEHNCNOF_ = other.cEHLEHNCNOF_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000E06 RID: 3590 RVA: 0x00029D05 File Offset: 0x00027F05
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BJGNJMEPIAL Clone()
		{
			return new BJGNJMEPIAL(this);
		}

		// Token: 0x1700042A RID: 1066
		// (get) Token: 0x06000E07 RID: 3591 RVA: 0x00029D0D File Offset: 0x00027F0D
		// (set) Token: 0x06000E08 RID: 3592 RVA: 0x00029D15 File Offset: 0x00027F15
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChessRogueMainStoryId
		{
			get
			{
				return this.chessRogueMainStoryId_;
			}
			set
			{
				this.chessRogueMainStoryId_ = value;
			}
		}

		// Token: 0x1700042B RID: 1067
		// (get) Token: 0x06000E09 RID: 3593 RVA: 0x00029D1E File Offset: 0x00027F1E
		// (set) Token: 0x06000E0A RID: 3594 RVA: 0x00029D26 File Offset: 0x00027F26
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CEHLEHNCNOF
		{
			get
			{
				return this.cEHLEHNCNOF_;
			}
			set
			{
				this.cEHLEHNCNOF_ = value;
			}
		}

		// Token: 0x06000E0B RID: 3595 RVA: 0x00029D2F File Offset: 0x00027F2F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as BJGNJMEPIAL);
		}

		// Token: 0x06000E0C RID: 3596 RVA: 0x00029D3D File Offset: 0x00027F3D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(BJGNJMEPIAL other)
		{
			return other != null && (other == this || (this.ChessRogueMainStoryId == other.ChessRogueMainStoryId && this.CEHLEHNCNOF == other.CEHLEHNCNOF && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06000E0D RID: 3597 RVA: 0x00029D7C File Offset: 0x00027F7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ChessRogueMainStoryId != 0U)
			{
				num ^= this.ChessRogueMainStoryId.GetHashCode();
			}
			if (this.CEHLEHNCNOF != 0U)
			{
				num ^= this.CEHLEHNCNOF.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000E0E RID: 3598 RVA: 0x00029DD4 File Offset: 0x00027FD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000E0F RID: 3599 RVA: 0x00029DDC File Offset: 0x00027FDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000E10 RID: 3600 RVA: 0x00029DE8 File Offset: 0x00027FE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ChessRogueMainStoryId != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.ChessRogueMainStoryId);
			}
			if (this.CEHLEHNCNOF != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.CEHLEHNCNOF);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06000E11 RID: 3601 RVA: 0x00029E44 File Offset: 0x00028044
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ChessRogueMainStoryId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChessRogueMainStoryId);
			}
			if (this.CEHLEHNCNOF != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CEHLEHNCNOF);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06000E12 RID: 3602 RVA: 0x00029E9C File Offset: 0x0002809C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(BJGNJMEPIAL other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ChessRogueMainStoryId != 0U)
			{
				this.ChessRogueMainStoryId = other.ChessRogueMainStoryId;
			}
			if (other.CEHLEHNCNOF != 0U)
			{
				this.CEHLEHNCNOF = other.CEHLEHNCNOF;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06000E13 RID: 3603 RVA: 0x00029EEC File Offset: 0x000280EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06000E14 RID: 3604 RVA: 0x00029EF8 File Offset: 0x000280F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.CEHLEHNCNOF = input.ReadUInt32();
					}
				}
				else
				{
					this.ChessRogueMainStoryId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040005F3 RID: 1523
		private static readonly MessageParser<BJGNJMEPIAL> _parser = new MessageParser<BJGNJMEPIAL>(() => new BJGNJMEPIAL());

		// Token: 0x040005F4 RID: 1524
		private UnknownFieldSet _unknownFields;

		// Token: 0x040005F5 RID: 1525
		public const int ChessRogueMainStoryIdFieldNumber = 7;

		// Token: 0x040005F6 RID: 1526
		private uint chessRogueMainStoryId_;

		// Token: 0x040005F7 RID: 1527
		public const int CEHLEHNCNOFFieldNumber = 15;

		// Token: 0x040005F8 RID: 1528
		private uint cEHLEHNCNOF_;
	}
}
